package main.factoryMethodPattern;

public class BluePenCore extends PenCore{

    public BluePenCore() {
        super("蓝色");
    }

    @Override
    public void writeWord(String s) {
        System.out.println("用[" + color + "笔芯]写出{"+color+"}的字: " + s);
    }
}